package game01;

public interface Calculate{
    int add(int n1,int n2);
}

//实现接口
public class MyCalc implements Calculate{

    public int add(int n1,int n2){
        return n1 + n2;
    }
}
